package com.qmctl.rest.bean.inventory;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import com.qmctl.rest.entity.InventoryRollingInfo;
@XmlRootElement(name="request")
public class InventoryReport{
  public InventoryReport(){
  }
private long totalPage;
private long currentPage;
private long pageSize;
private String warehouseCode;
private String checkOrderCode;
private String checkOrderId;
private String ownerCode;
private String checkTime;
private String outBizCode;
private String remark;
@XmlElementWrapper(name="items")  
@XmlElement(name="item")   
private List<ItemClazz> itemLst;
  public long getTotalPage(){
    return totalPage;
  }
  public void setTotalPage(long iTotalPage){
    totalPage = iTotalPage;
  }
  public long getPageSize(){
    return pageSize;
  }
  public void setPageSize(long iPageSize){
    pageSize = iPageSize;
  }
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }
  public String getCheckOrderCode(){
    return checkOrderCode;
  }
  public void setCheckOrderCode(String sCheckOrderCode){
    checkOrderCode = sCheckOrderCode;
  }
  public String getCheckOrderId(){
    return checkOrderId;
  }
  public void setCheckOrderId(String sCheckOrderId){
    checkOrderId = sCheckOrderId;
  }
  public String getOwnerCode(){
    return ownerCode;
  }
  public void setOwnerCode(String sOwnerCode){
    ownerCode = sOwnerCode;
  }
  public String getRemark(){
    return remark;
  }
  public void setRemark(String sRemark){
    remark = sRemark;
  }

  public void setItems(List<ItemClazz> clazzItems){
	  itemLst = clazzItems;
  }
  public long getCurrentPage() {
	return currentPage;
  }
  public void setCurrentPage(long currentPage) {
	this.currentPage = currentPage;
  }
  public String getCheckTime() {
	return checkTime;
  }
  public void setCheckTime(String checkTime) {
	this.checkTime = checkTime;
  }
  public String getOutBizCode() {
	return outBizCode;
  }
  public void setOutBizCode(String outBizCode) {
	this.outBizCode = outBizCode;
  }
  public InventoryReport(InventoryRollingInfo beanClazz){
	    warehouseCode = beanClazz.getWarehouseCode();
	    checkOrderCode = beanClazz.getCheckOrderCode();
	    checkOrderId = beanClazz.getCheckOrderId();
	    ownerCode = beanClazz.getOwnerCode();
	    checkTime = beanClazz.getCheckTime();
	    outBizCode = beanClazz.getCheckOrderId();
	    remark = beanClazz.getRemark();
	    itemLst= null;
	    //items = beanClazz.getItems();
	  }
}
